home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / pw.xml < prev    next >
Text File  |  2002-09-10  |  3KB  |  71 lines

  1. <search function="pw">
  2.   <name>Price Watch</name>
  3.   <description>
  4.     Street price search for computer related items.<br/>
  5.     <div class="helpboxDescLabels">Switches:</div>
  6.         <table class="helpboxDescTable">
  7.             <tr><td>/motherboard</td><td> - </td><td>Motherboards</td></tr>
  8.             <tr><td>/cpu</td><td> - </td><td>CPU / Processors</td></tr>
  9.             <tr><td>/ram</td><td> - </td><td>Memory</td></tr>
  10.             <tr><td>/video</td><td> - </td><td>Video Cards</td></tr>
  11.             <tr><td>/sound</td><td> - </td><td>Sound Cards</td></tr>
  12.             <tr><td>/hd</td><td> - </td><td>Hard Drives</td></tr>
  13.             <tr><td>/cd</td><td> - </td><td>CD-ROM Drives</td></tr>
  14.             <tr><td>/cdrw</td><td> - </td><td>CD Burners</td></tr>
  15.             <tr><td>/dvd</td><td> - </td><td>DVD-ROM Drives</td></tr>
  16.             <tr><td>/fd</td><td> - </td><td>Floppy Drives</td></tr>
  17.             <tr><td>/monitor</td><td> - </td><td>Monitors</td></tr>
  18.             <tr><td>/case</td><td> - </td><td>Cases</td></tr>
  19.             <tr><td>/psu</td><td> - </td><td>Power Supplies</td></tr>
  20.             <tr><td>/barebones</td><td> - </td><td>PC Bare Bones Kits</td></tr>
  21.         </table>
  22.       <div class="helpboxDescLabels">Examples:</div>
  23.       <table class="helpboxDescTable">
  24.             <tr><td>pw Athlon XP 1900 /cpu</td></tr>
  25.         </table>
  26.     </description>
  27.   <category>Shopping</category>
  28.   <link>http://www.pricewatch.com/</link>
  29.   <contributor>Rick Olson</contributor>
  30.   
  31.   <script><![CDATA[
  32.     function pw(q) 
  33.     {
  34.       var args = parseArgs(q, "mb, motherboard, cpu, ram, hd, cd, video, sound, cdrw, dvd, fd, monitor, case, psu, bb, barebones");
  35.       if( nullArgs("pw",q) )
  36.         return false;
  37.       else if( args.switches.length == 1 )
  38.       {
  39.         switch( args.switches[0].name ) 
  40.         {
  41.           case "mb": 
  42.           case "motherboard": pw_q = "Motherboards"; break;
  43.           case "cpu": pw_q = "Microprocessors"; break;
  44.           case "ram": pw_q = "System Memory"; break;
  45.           case "hd": pw_q = "Hard Disk Drives "; break;
  46.           case "cd": pw_q = "CD-ROM Drives"; break;
  47.           case "video": pw_q = "Video Cards"; break;
  48.           case "sound": pw_q = "Sound Cards"; break;
  49.           case "cdrw": pw_q = "CD Recorders"; break;
  50.           case "dvd": pw_q = "DVD Drives"; break;
  51.           case "fd": pw_q = "Floppy Drives"; break;
  52.           case "monitor": pw_q = "Monitors"; break;
  53.           case "case": pw_q = "Cases"; break;
  54.           case "psu": pw_q = "Power Supply for Case"; break;
  55.           case "bb":
  56.           case "barebones": pw_q = "Computer Systems - Kits Bare Bones"; break;
  57.         }
  58.         openSearchWindow("http://brook.pricewatch.com/search/search.asp?c=" + escape(pw_q)+ "&s=" + escape(args.q));
  59.       } 
  60.       else 
  61.         openSearchWindow("http://brook.pricewatch.com/search/search.asp?s=" + escape(q));
  62.     }
  63.   ]]></script>
  64.  
  65.   <copyright>
  66.     Copyright (c) 2002 David Bau
  67.     Distributed under the terms of the
  68.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  69.   </copyright>
  70. </search>
  71.